package com.beilang.hotline.email.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.beilang.base.core.model.BaseModel;

@Entity
@Table(name = "ht_email")
public class EmailServerModel extends BaseModel{

	private static final long serialVersionUID = 4942343479242629087L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)		
	@Column(name = "email_id")
	private Long emailId;
	
	@Column(name = "emailfrom")
	private String emailFrom;

	@Column(name = "email_Display_Name")
	private String emailDisplayName;
	
	@Column(name = "smtp_sever")	
	private String smtpServer;
	
	@Column(name = "user_name")
	private String emailUserName;
	
	@Column(name = "password")
	private String emailPassword;
	
	@Transient
	private String confirmEmailPassword;	
	
	@Column(name = "emailsubject")
	private String emailSubject;
	
	@Column(name = "email_url")
	private String emailUrl;

	public Long getEmailId() {
		return emailId;
	}

	public void setEmailId(Long emailId) {
		this.emailId = emailId;
	}

	public String getEmailFrom() {
		return emailFrom;
	}

	public void setEmailFrom(String emailFrom) {
		this.emailFrom = emailFrom;
	}

	public String getEmailDisplayName() {
		return emailDisplayName;
	}

	public void setEmailDisplayName(String emailDisplayName) {
		this.emailDisplayName = emailDisplayName;
	}

	public String getSmtpServer() {
		return smtpServer;
	}

	public void setSmtpServer(String smtpServer) {
		this.smtpServer = smtpServer;
	}

	public String getEmailUserName() {
		return emailUserName;
	}

	public void setEmailUserName(String emailUserName) {
		this.emailUserName = emailUserName;
	}

	public String getEmailPassword() {
		return emailPassword;
	}

	public void setEmailPassword(String emailPassword) {
		this.emailPassword = emailPassword;
	}
	
	public String getConfirmEmailPassword() {
		return confirmEmailPassword;
	}

	public void setConfirmEmailPassword(String confirmEmailPassword) {
		this.confirmEmailPassword = confirmEmailPassword;
	}

	public String getEmailSubject() {
		return emailSubject;
	}

	public void setEmailSubject(String emailSubject) {
		this.emailSubject = emailSubject;
	}

	public String getEmailUrl() {
		return emailUrl;
	}

	public void setEmailUrl(String emailUrl) {
		this.emailUrl = emailUrl;
	}
	
}
